from flask import Flask
from .init_sqlalchemy import db, init_databases
from .init_migrate import init_migrate
from .init_mail import init_mail


def init_plug(app: Flask):
    init_databases(app)
    init_migrate(app, db)
    init_mail(app)
